import http from "@/utils/http2.js";

export function getList() {
  return http.get("/auction-product/api/querysify");
}

export function add(data) {
  return http.post("/auction-product/api/savesify", data);
}

export function editFeatured(data) {
  return http.put("/auction-product/api/classify/updateFeatured", data);
}

export function editImage(data) {
  return http.put("/auction-product/api/classify/updateImage", data);
}

export function deleteClassify(id) {
  return http.delete("/auction-product/api/classify/delete", id);
}
